home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text.html;
-
- import java.util.Vector;
- import javax.swing.text.MutableAttributeSet;
- import javax.swing.text.html.HTML.Attribute;
-
- class HTMLDocument$HTMLReader$StyleAction extends HTMLDocument.HTMLReader.TagAction {
- // $FF: synthetic field
- private final HTMLDocument.HTMLReader this$1;
-
- HTMLDocument$HTMLReader$StyleAction(HTMLDocument.HTMLReader var1) {
- super(var1);
- this.this$1 = var1;
- }
-
- public void end(HTML.Tag var1) {
- this.this$1.inStyle = false;
- }
-
- boolean isEmpty(HTML.Tag var1) {
- return false;
- }
-
- public void start(HTML.Tag var1, MutableAttributeSet var2) {
- if (this.this$1.inHead) {
- if (this.this$1.styles == null) {
- this.this$1.styles = new Vector(3);
- }
-
- this.this$1.styles.addElement(var1);
- this.this$1.styles.addElement(var2.getAttribute(Attribute.TYPE));
- this.this$1.inStyle = true;
- }
-
- }
- }
-